package yogaModel

import "time"

type ReqAlbum struct {
	Id        int       `json:"id"`
	AlbumType int       `json:"album_type" binding:"required" required_err:"参数缺失【album_type】"`
	FromId    int       `json:"from_id" binding:"required" required_err:"参数缺失【from_id】"`
	Url       string    `json:"url" binding:"required" required_err:"参数缺失【url】"`
	Weight    int       `json:"weight"`
	SubMchId  string    `json:"sub_mch_id" binding:"required" required_err:"参数缺失【sub_mch_id】"`
	Name      string    `json:"name"  binding:"required" required_err:"参数缺失【name】"`
	DeletedAt time.Time `xorm:"deleted" json:"-" form:"deleted_at" mapstructure:"deleted_at"`
}
